package com.example.templatemethodpattern.entity;

/**
 * @author ash
 * @description
 * @create 2023/2/12  0:35:07
 * @className AbstractClass
 * @verson 1.0.0
 */
public abstract class AbstractClass {

    public abstract void primitiveOperation1();

    public abstract void primitiveOperation2();


    public void templateMethod(){
        primitiveOperation1();
        primitiveOperation2();
        System.out.println("执行成功！！");
    }


}
